// vite.config.ts
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///D:/vite-ts-element/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/vite-ts-element/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import UnoCSS from "file:///D:/vite-ts-element/node_modules/unocss/dist/vite.mjs";
import { mars3dPlugin } from "file:///D:/vite-ts-element/node_modules/vite-plugin-mars3d/dist/vite-plugin-mars3d.js";
import vueSetupExtend from "file:///D:/vite-ts-element/node_modules/vite-plugin-vue-setup-extend/dist/index.mjs";
var __vite_injected_original_import_meta_url = "file:///D:/vite-ts-element/vite.config.ts";
var vite_config_default = defineConfig({
  plugins: [vue(), mars3dPlugin(), UnoCSS(), vueSetupExtend()],
  server: {
    host: "0.0.0.0",
    // headers: {
    //   'Access-Control-Allow-Origin': '*'
    // },
    // proxy: {
    //   // 选项写法
    //   '/api': {
    //     target: 'http://192.168.2.119:8000/',
    //     changeOrigin: true,
    //     rewrite: (path) => path.replace(/^\/api/, '')
    //   }
    // },
    cors: true
  },
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFx2aXRlLXRzLWVsZW1lbnRcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkQ6XFxcXHZpdGUtdHMtZWxlbWVudFxcXFx2aXRlLmNvbmZpZy50c1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRfbWV0YV91cmwgPSBcImZpbGU6Ly8vRDovdml0ZS10cy1lbGVtZW50L3ZpdGUuY29uZmlnLn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